﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using LMS.SMSH.MODEL;
using LMS.SMSH.BLL;
using System.Data.Linq;
using System.Data; 

namespace LMS.SMSH.WEB
{
    public partial class I_Left : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }



        protected void btnLogout_Click(object sender, EventArgs e)
        {
            if (!string.IsNullOrEmpty(Session["studentID"].ToString()))
            {
                Session["studentID"] = string.Empty;
            }
            if (!string.IsNullOrEmpty(Session["teacherID"].ToString()))
            {
                Session["teacherID"] = string.Empty;
            }
            if (!string.IsNullOrEmpty(Session["adminID"].ToString()))
            {
                Session["adminID"] = string.Empty;
            }
            Response.Redirect("index.aspx");
        }
    }
}